<include file="Admin/Public/header" />
<div id="main-content">
	<!-- Main Content Section with everything -->
	<noscript>
		<!-- Show a notification if the user has disabled javascript -->
		<div class="notification error png_bg">
			<div>
				Javascript is disabled or is not supported by your browser. Please <a
					href="http://browsehappy.com/" title="Upgrade to a better browser">upgrade</a>
				your browser or <a
					href="http://www.google.com/support/bin/answer.py?answer=23852"
					title="Enable Javascript in your browser">enable</a> Javascript to
				navigate the interface properly. Download From <a
					href="http://www.exet.tk">exet.tk</a>
			</div>
		</div>
	</noscript>
	<!-- Page Head -->
	<h2>Welcome</h2>
	<p id="page-intro">
	<h3>快捷菜单</h3>
	</p>
	<ul class="shortcut-buttons-set">
		<li><a class="shortcut-button"
			href="__APP__/Admin/Content/newcontent"><span> <img
					src="/Public/resources/images/icons/pencil_48.png" alt="icon" /><br />
					写一篇文章 </span> </a>
		</li>
		<li><a class="shortcut-button" href="__APP__/Admin/Category/newcategory"><span> <img
					src="/Public/resources/images/icons/paper_content_pencil_48.png"
					alt="icon" /><br /> 添加一个分类 </span> </a>
		</li>
		<li><a class="shortcut-button" href="__APP__/Admin/Channel/newchannel"><span> <img
					src="/Public/resources/images/icons/image_add_48.png"
					alt="icon" /><br /> 添加一个频道 </span> </a>
		</li>
	</ul>
	<!-- End .shortcut-buttons-set -->
	<div class="clear"></div>
	<!-- End .clear -->
	<div class="content-box">
		<!-- Start Content Box -->
		<div class="content-box-header">
			<h3>Content box</h3>
			<ul class="content-box-tabs">
				<!-- href must be unique and match the id of target div -->
				<li><a href="#tab2" class="default-tab">Forms</a></li>
			</ul>
			<div class="clear"></div>
		</div>
		<!-- End .content-box-header -->
		<div class="content-box-content">
			<!-- End #tab1 -->
			<div class="tab-content default-tab" id="tab2">
				<form method="POST" action="__URL__/updatecategory">
					<p>
						<b>分类父栏</b> <select id="dropdown" name="category_parentid">
							<volist name="categories" id="acategory"> <eq
								name="acategory.category_id" value='$category.category_parentid'>
							<option value="{$acategory.category_id}" selected="selected">{$acategory.category_name}</option>
							<else />
							<option value="{$acategory.category_id}">{$acategory.category_name}</option>
							</eq> </volist>
						</select>
					</p>
					<p>
						<b>分类标题</b><input type="text" name="category_name"
							class="text-input small-input" id="small-input"
							value="{$category.category_name}">
					</p>
					<p>
						<label>分类描述</label>
						<textarea name="category_description" id="textarea"
							class="text-input textarea">{$category.category_description}</textarea>
					</p>
					<p>
					<p>
						<label>导航显示</label>
						<eq name="category.category_navi" value="1"> <input
							type="radio" name="category_navi" value='0'>NO&nbsp;&nbsp;
						<input type="radio" name="category_navi" value='1'
							checked="checked">YES&nbsp;&nbsp; <else /> <input
							type="radio" name="category_navi" value='0' checked="checked">NO&nbsp;&nbsp;
						<input type="radio" name="category_navi" value='1'>YES&nbsp;&nbsp;
						</eq>
					</p>
					<p>
					<p>
						<b>导航排序</b><input type="text" name="category_sort"
							class="text-input small-input" id="small-input"
							value="{$category.category_sort}">
					</p>
					<p>
					<p>
						<label>是否启用</label>
						<eq name="category.category_state" value="1"> <input
							type="radio" name="category_state" value='0'>NO&nbsp;&nbsp;
						<input type="radio" name="category_state" value='1'
							checked="checked">YES&nbsp;&nbsp; <else /> <input
							type="radio" name="category_state" value='0' checked="checked">NO&nbsp;&nbsp;
						<input type="radio" name="category_state" value='1'>YES&nbsp;&nbsp;
						</eq>
					</p>
					<p>
						完成提交:<input type="hidden" name="category_id" value='{$category.category_id}'><input class="button" type="submit" name="submit" value="保存">
					</p>
				</form>
			</div>
			<!-- End #tab2 -->
		</div>
		<!-- End .content-box-content -->
	</div>
	<div class="clear"></div>
	<div id="footer">
		<small> <!-- Remove this notice or replace it with whatever you want -->
			&#169; Copyright 2010 Your Company | Powered by <a
			href="http://www.865171.cn">admin templates</a> | <a href="#">Top</a>
		</small>
	</div>
	<!-- End #footer -->
</div>
<!-- End #main-content -->
</div>
</body>
</html>